package com.ml.mall.enums;

import lombok.Data;

/**
 *   @description    :adminAdd adminReduce use
 *   @author         :zxm
 *   @date           :2021/5/19
 *   @version        :1.0
**/
public enum CreditEnum {
    CREDIT_ADD(1,"Credit By Admin"),
    CREDIT_REDUCE(2,"Debit By Admin"),
    CREDIT_USE(3,"Use");

    private int type;
    private String changeName;
    CreditEnum(Integer type,String changeName){
        this.type = type;
        this.changeName = changeName;
    }

    public int getType() {
        return type;
    }

    public String getChangeName() {
        return changeName;
    }
}
